import { axios } from '@/utils/request'

/**
 * 查询实验课程限制
 *
 * @author levin
 * @date 2022-07-08 11:00:02
 */
export function courseLimitPage (parameter) {
  return axios({
    url: '/courseLimit/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 实验课程限制列表
 *
 * @author levin
 * @date 2022-07-08 11:00:02
 */
export function courseLimitList (parameter) {
  return axios({
    url: '/courseLimit/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加实验课程限制
 *
 * @author levin
 * @date 2022-07-08 11:00:02
 */
export function courseLimitAdd (parameter) {
  return axios({
    url: '/courseLimit/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑实验课程限制
 *
 * @author levin
 * @date 2022-07-08 11:00:02
 */
export function courseLimitEdit (parameter) {
  return axios({
    url: '/courseLimit/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除实验课程限制
 *
 * @author levin
 * @date 2022-07-08 11:00:02
 */
export function courseLimitDelete (parameter) {
  return axios({
    url: '/courseLimit/delete',
    method: 'post',
    data: parameter
  })
}
